import request from '@/utils/request'

// 查询单位签到列表
export function listSignComp(query) {
  return request({
    url: '/employee/signComp/list',
    method: 'get',
    params: query
  })
}

// 查询单位签到详细
export function getSignComp(id) {
  return request({
    url: '/employee/signComp/' + id,
    method: 'get'
  })
}

// 新增单位签到
export function addSignComp(data) {
  return request({
    url: '/employee/signComp',
    method: 'post',
    data: data
  })
}

// 修改单位签到
export function updateSignComp(data) {
  return request({
    url: '/employee/signComp',
    method: 'put',
    data: data
  })
}

// 删除单位签到
export function delSignComp(id) {
  return request({
    url: '/employee/signComp/' + id,
    method: 'delete'
  })
}
